package com.dsbj.icardservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 访客主表
 *
 * @author Administrator
 */
@Data
@TableName("VS_RESERVATION_PRIMARY")
public class ReservationPrimary extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1160626515122488174L;
	
	@TableId(value = "id", type = IdType.UUID)
	private String id; // GUID主键
	
	private String reservationno;
	
	private String districtno;
	
	private String employeenoReception;
	
	private String employeenameReception;
	
	private String deptno;
	
	private String deptname;
	
	private String visitingMatters;
	
	private Date forecastVisitingTime;
	
	private Date forecastDepartureTime;
	
	private String bpmstatus;
	
	private String bpmflag;
	
	private Integer backflag;
	
	private Integer requestid;
	
	private Integer ftriggerflag;
	
	private String createUserEmployeeno;
	
	private String createUserDeptno;
	
	private String visitorCompany;//访客单位
	
	private String employeenoPhone;//接待人手机
	
	private String districtName;


	@TableField(exist = false)
	private String departmentcode;//OA部门编码
	
	@TableField(exist = false)
	private Integer employeeId;
	
	@TableField(exist = false)
	private Integer departmentId;
	
	@TableField(exist = false)
	private String workcode;//OA工号
	
	//updateTime,updateUser不存在。
	@TableField(exist = false)
	private Date updateTime; // 修改时间
	
	@TableField(exist = false)
	private String updateUser; // 修改人
	
	
	@TableField(exist = false)
	private List<Reservation> reservationList;

	@TableField(exist = false)
	private String visitorNames;


}